<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h4>随机点名</h4>
    <div class="box">
        <span>名字是：</span>
        <div class="qs">这里显示姓名</div>
    </div>
    <div class="btns">
        <button class="ks">开始</button> 
        <button class="js">结束</button> 
    </div>
    <script>
        const arr = ['关羽', '赵云', '马超', '张飞']

        // 获取元素
        const name = document.querySelector('.qs')
        const js = document.querySelector('.btns js')
        const ks = document.querySelector('.btns ks')

        btn.addEventlListener
    </script>
</body>
</html>